using System;
using System.Collections.Generic;
using System.Xml.Serialization;

using DC2010.Objects.Base;
using DC2010.Objects.Common;

namespace DC2010.Objects
{
    [Serializable]
    public class CreatureAbilites : ICloneable
    {
		public List<string> AbilityList {get;set;}
		
		public bool HasAbility(string sAbility)
		{
			return AbilityList.Contains(sAbility);
		}
		
        public object Clone()
        {
            CreatureAbilites ca = (CreatureAbilites)this.MemberwiseClone();
			ca.AbilityList = new List<string>(AbilityList);
            return ca;
        }
	}
}